package com.sanyang.lawyer.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: lawyer
 * @description: 通知公告实体类
 * @author: Mr.Wang
 * @create: 2019-10-11 08:26
 **/

@Data
@ToString
public class Adm_Notice {

    private int noticeId;          //公告主键
    private System_user userId;            //用户id（外键
    private String title;           //标题
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date datetime;          //发布时间
    private String uploading;       //上传文件
    private String content;         //内容

}
